﻿<!DOCTYPE HTML>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<link rel="icon" href="https://static.jianshukeji.com/highcharts/images/favicon.ico">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link rel="stylesheet" href="../js/layui/css/layui.css" />
		<link rel="stylesheet" href="../js/layui/css/modules/laydate/default/laydate.css" />
		<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
		<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
		<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		<style>
			.search {
				height: 20px;
			}
			/* css 代码  */
		</style>
		<script src="https://img.hcharts.cn/jquery/jquery-1.8.3.min.js"></script>
		<script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
		<script src="https://img.hcharts.cn/highcharts/modules/exporting.js"></script>
		<script src="https://img.hcharts.cn/highcharts/modules/data.js"></script>
		<script src="https://img.hcharts.cn/highcharts/modules/series-label.js"></script>
		<script src="https://img.hcharts.cn/highcharts/modules/oldie.js"></script>
		<script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
		<script src="https://img.hcharts.cn/highcharts/themes/sand-signika.js"></script>
	</head>

	<body style="width: 800px; height: 500px;;">
		<div id="search" style="height: 30px;    padding-top: 10px;padding-left: 20px;">
			站点：<span id="name"></span>
			<span style="padding-left: 20px;">时间段：</span>
			<div class="layui-inline">
				<div class="layui-input-inline">
					<input type="text" name="start_time" class="layui-input" id="start_time" placeholder="开始时间(修改时间)">
				</div>
			</div>
			<span>~</span>
			<div class="layui-inline">
				<div class="layui-input-inline">
					<input type="text" name="end_time" class="layui-input" id="end_time" placeholder="结束时间(修改时间)">
				</div>
			</div>
							<button type="button " style="margin-left: 80px;"  class="btn btn-primary" onclick="query()">查询</button>

		</div>
		<div id="container" style="min-width:400px;height:400px;margin-top: 30px;"></div>
		<div class="message"></div>
		<script src="../js/jquery-2.1.3.min.js "></script>	
			<script src="../js/layer/layer.js "></script>
		<script src="../js/SiteDetail.js"></script>
		<script src="../js/layui/lay/modules/laydate.js"></script>
		<script>
			//执行一个laydate实例
			laydate.render({
				elem: '#start_time' //指定元素
					,
				type: 'datetime',
				value: new Date()
			});

			laydate.render({
				elem: '#end_time' //指定元素
					,
				type: 'datetime',
				value: new Date()
			});
		</script>
	</body>

</html>
​